#include <iostream>
#include "arr2d-simple.hpp"

int main()
{
  // Create a 2D array object with 5 rows and 4 columns. Initialize
  // the values to 1.0:
  Arr2d arr2d(5,4, 1.0);

  // Set some elements of the array:
  arr2d.get(3,3) = 2.0;

  // Print the array:
  for(int i = 0; i < 5; i++){
    for(int j = 0; j < 4; j++) {
      std::cout << arr2d.get(i,j) << '\t';
    }
    std::cout << std::endl;
  }

  return 0;
}
